// kX DSP Generated file

/*
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program; if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 */


// 10kX microcode
// Patch name: 'Leslie Horn'

char *Leslie_Horn_copyright="";
// NOTE: The present DSP microcode dump is protected by the 
// license agreement bundled with the appropriate software 
// package containing this microcode,
// regardless the particular copyright notice is present in the dump.

char *Leslie_Horn_engine="";
char *Leslie_Horn_comment="Simulate Leslie Horn";
char *Leslie_Horn_created="";
char *Leslie_Horn_guid="02a2a5d2-8e28-4068-82b7-d0809d34ef73";

char *Leslie_Horn_name="Leslie Horn";
int Leslie_Horn_itramsize=240,Leslie_Horn_xtramsize=0;

dsp_register_info Leslie_Horn_info[]={
	{ "in",0x4000,0x7,0xffff,0x0 },
	{ "outL",0x8000,0x8,0xffff,0x0 },
	{ "outR",0x8001,0x8,0xffff,0x0 },
	{ "Speed",0x8002,0x4,0xffff,0x3fffffff },
	{ "DlyT_Horn",0x8003,0x4,0xffff,0x3fffffff },
	{ "DoplerLvl",0x8004,0x4,0xffff,0x0 },
	{ "TremDepth",0x8005,0x4,0xffff,0x0 },
	{ "Panning",0x8006,0x4,0xffff,0x0 },
	{ "DryLvl",0x8007,0x4,0xffff,0x0 },
	{ "dly_horn",0x8008,0x1,0xffff,0x0 },
	{ "mt_horn",0x8009,0x1,0xffff,0x0 },
	{ "xsin",0x800a,0x1,0xffff,0x0 },
	{ "xcos",0x800b,0x1,0xffff,0x3fffffff },
	{ "b0",0x800c,0x1,0xffff,0x3ed8876a },
	{ "b1",0x800d,0x1,0xffff,0x824ef12b },
	{ "b2",0x800e,0x1,0xffff,0x3ed8876a },
	{ "c0",0x800f,0x1,0xffff,0xb05d5 },
	{ "c1",0x8010,0x1,0xffff,0x160bab },
	{ "c2",0x8011,0x1,0xffff,0xb05d5 },
	{ "a1",0x8012,0x1,0xffff,0x7d805267 },
	{ "a2",0x8013,0x1,0xffff,0xc2539641 },
	{ "sca",0x8014,0x1,0xffff,0x2 },
	{ "lx1",0x8015,0x1,0xffff,0x0 },
	{ "lx2",0x8016,0x1,0xffff,0x0 },
	{ "ly1",0x8017,0x1,0xffff,0x0 },
	{ "ly2",0x8018,0x1,0xffff,0x0 },
	{ "kx1",0x8019,0x1,0xffff,0x0 },
	{ "kx2",0x801a,0x1,0xffff,0x0 },
	{ "ky1",0x801b,0x1,0xffff,0x0 },
	{ "ky2",0x801c,0x1,0xffff,0x0 },
	{ "shift",0x801d,0x5,0xffff,0x800 },
	{ "_AC20c49b",0x801e,0x5,0xffff,0x20c49b },
	{ "_AC51eb8",0x801f,0x5,0xffff,0x51eb8 },
	{ "tmpIn",0x8020,0x3,0xffff,0x0 },
	{ "trh_lfo",0x8021,0x3,0xffff,0x0 },
	{ "dlyh_lfo",0x8022,0x3,0xffff,0x0 },
	{ "sinpos",0x8023,0x3,0xffff,0x0 },
	{ "sinneg",0x8024,0x3,0xffff,0x0 },
	{ "b",0x8025,0x3,0xffff,0x0 },
	{ "pl",0x8026,0x3,0xffff,0x0 },
	{ "pr",0x8027,0x3,0xffff,0x0 },
	{ "th",0x8028,0x3,0xffff,0x0 },
	{ "t1",0x8029,0x3,0xffff,0x0 },
	{ "t2",0x802a,0x3,0xffff,0x0 },
	{ "wrth",0x802b,0x49,0xffff,0x0 },
	{ "&wrth",0x802c,0xb,0xffff,0x0 },
	{ "rdh0",0x802d,0x29,0xffff,0x78 },
	{ "&rdh0",0x802e,0xb,0xffff,0x78 },
	{ "rdh1",0x802f,0x29,0xffff,0x78 },
	{ "&rdh1",0x8030,0xb,0xffff,0x78 },
};

dsp_code Leslie_Horn_code[]={
	{ 0x0,0x8020,0x4000,0x2040,0x2040 },
	{ 0x0,0x2040,0x2040,0x2040,0x2040 },
	{ 0x7,0x8016,0x8015,0x8016,0x800e },
	{ 0x7,0x8015,0x4000,0x8015,0x800d },
	{ 0x7,0x8029,0x8029,0x8020,0x800c },
	{ 0x7,0x8018,0x8017,0x8018,0x8013 },
	{ 0x7,0x8029,0x8029,0x8017,0x8012 },
	{ 0x0,0x802a,0x2056,0x2040,0x2040 },
	{ 0x4,0x8017,0x2040,0x802a,0x8014 },
	{ 0x0,0x802b,0x8017,0x2040,0x2040 },
	{ 0x0,0x8025,0x2040,0x8002,0x801e },
	{ 0x0,0x800a,0x800a,0x8025,0x800b },
	{ 0x1,0x800b,0x800b,0x8025,0x800a },
	{ 0x0,0x8023,0x204d,0x800a,0x204f },
	{ 0x1,0x8024,0x204d,0x800a,0x204f },
	{ 0x1,0x8021,0x204f,0x8023,0x8005 },
	{ 0x1,0x8022,0x204f,0x8024,0x8004 },
	{ 0x1,0x8026,0x204f,0x8023,0x8006 },
	{ 0x1,0x8027,0x204f,0x8024,0x8006 },
	{ 0x5,0x8028,0x2040,0x8009,0x2055 },
	{ 0xe,0x8028,0x802d,0x8028,0x802f },
	{ 0x0,0x8028,0x2040,0x8028,0x8021 },
	{ 0x0,0x8028,0x8028,0x8020,0x8007 },
	{ 0x0,0x8000,0x2040,0x8028,0x8026 },
	{ 0x0,0x8001,0x2040,0x8028,0x8027 },
	{ 0xe,0x8008,0x2040,0x8003,0x801f },
	{ 0x0,0x8009,0x802c,0x8008,0x8022 },
	{ 0x0,0x802e,0x8009,0x2040,0x2040 },
	{ 0x0,0x8030,0x8009,0x801d,0x204f },
};

